package Ch7;

public class Calculator1 {

	public static void main(String[] args) {
		char oper = '*';
		int x = 10;
		int y = 30;
		
		if(oper == '+'){
			System.out.println(x+y);
		}else if(oper == '-'){
			System.out.println(x-y);
		}else if(oper == '*'){
			System.out.println(x*y);
		}else {
			System.out.println(x/y);
		}
	}
}
